package com.qili.entity.base;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * @author zhaoyongke
 * @date 2020/11/3 基础阶段表
 * @description
 */
@Table(name="base_stage_jc")
@Data
@ToString
@EqualsAndHashCode
@Component
public class BaseStageJc implements Serializable {
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 序号排序
     */
    @Column(name = "order_num")
    private Integer orderNum;

    /**
     * 项目类型编号
     */
    @Column(name = "project_type_no")
    private String projectTypeNo;

     /*
     阶段编号
     * */
    @Column(name = "stage_no")
    private String stageNo;
    /*
    项目创建时间
    * */
    @Column(name ="create_time")
    private Date createTime;
    /*
    阶段名称
    * */
    @Transient
    private String stageName;
    /**
     * 项目类型名称
     */
    @Transient
    private String projectName;

    private static final long serialVersionUID = 1L;
}
